package com.abu.edums.service;

import com.abu.pojo.Course;
import com.abu.pojo.CourseQuery;
import com.abu.vo.CourseInfoVO;
import com.abu.vo.CoursePublishVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author 阿布
 * @since 2020-06-18
 */
public interface CourseService extends IService<Course> {

    String  saveCourseInfo(CourseInfoVO courseInfoVO);

    String updateCourseInfoVO(CourseInfoVO courseInfoVO);

    CoursePublishVo getCoursePublishInfo(String courseId);

    Boolean deletePublishCourseById(String courseId);

    List<Course> queryLimitById();

    HashMap<String, Object> queryPageCourse(Long page, Long size, CourseQuery courseQuery);
}
